home *** CD-ROM | disk | FTP | other *** search
/ USA Bestseller / USA BESTSELLER Vol 1-95 (Hepp-Computer)(1995).iso / e193 / 0150ter2._xe / UTILS.EXE / TERMINAT.EXT < prev    next >
Text File  |  1994-08-18  |  4KB  |  118 lines

  1. %
  2. % Extension edit file, max 100 entries
  3. %
  4. % This file is almost compatibel with Norton Commandor 3.0
  5. % If you have NC.EXT, then copy it into TERMINAT.EXT and change
  6. % all !.! -=> !F  and  ! to !D
  7. % Blank lines and lines starting with % will be ignored.
  8. %
  9. % The idea of this system if that you should not waste time figuring out
  10. % what program to call to see or use files with a certain extension.
  11. % Like a file called TERMINAT.DOC, a file ending in .DOC is almost always
  12. % a file that you only want to view, not edit. There you would normally
  13. % call the viewer, called lets say LIST.COM, by pressing V inside the
  14. % filemanager. But if you have an extension in this file called DOC:
  15. % that program will be called when pressing RETURN over that file.
  16. % If you have a line here like
  17. %
  18. % DOC:  LIST !F !M
  19. %
  20. % To use the new internal fileviewer, use the following statement.
  21. %
  22. % DOC:  @LIST !F
  23. %
  24. % and you press RETURN on a .DOC file LIST will be called together with the
  25. % complete filename of the current file. The !F will be replaced with the
  26. % filename of the current file. The !M tells Terminate to swap out memory
  27. % first if the program needs a lot of memory. When using the !W parameter
  28. % Terminate will wait for a keypress after the command has been executed.
  29. %
  30. % Wildcards in extension: You can use a '?' anywhere in the extensions.
  31. % Like: ZI?  will process all files called: ZIP,ZI1,ZIA,ZIX.
  32. %
  33. %
  34. % Syntax:
  35. %
  36. %
  37. %    ┌─ Colon must be position 4 on line
  38. %    │
  39. % txt:  edit !F
  40. %  ^    └──┬──┘
  41. %  │       └── DOS command
  42. %  └─ File extension
  43. %
  44. %   !M  Swap memory first
  45. %   !W  Wait for return after
  46. %   !F  Name at current position, only in filemanager
  47. %   !F2 Name at current position, in the other window
  48. %   !D  Directory path to current directory, without backslash
  49. %   !D2 Directory path to directory in the other window without backslash
  50. %   !E  Call program without extra COMMAND.COM (COMSPEC), if you use this
  51. %       command you must give the full path and extension.
  52. %   !CD Change to directory where the program is located, before calling
  53. %       the program.
  54.  
  55. % Programs that can be executed directly. NEVER call resident programs
  56. % from inside other programs like Terminate (TSR's).
  57.  
  58. BAT:    !F !M
  59. EXE:    !F !M
  60. COM:    !F !M
  61.  
  62. % Archives, remember to put a !M in the end, if you are low on memory
  63.  
  64. ARC:    pkunpak -v !F |More !W
  65. AR?:    arj v !F |More !W
  66. LZ?:    lha !F |More !W
  67. LH?:    lha !F |More !W
  68. ZI?:    pkunzip -v !F |More !W
  69. ZO?:    zoo l !F |More !W
  70. SQ?:    sqz l !F |More !W
  71. DW?:    dwc l !F |More !W
  72.  
  73. % Music and pictures
  74.  
  75. GL :    C:\GRASP\GRASPRT.EXE !F !M
  76. FLI:    C:\ANIM\AAPLAY.EXE !F !M
  77. GIF:    CSHOW !F !M
  78. BAK:    DEL !F
  79. MOD:    c:\wow\wowii.exe !F /SB /I:7 /B:16384 !M
  80. VOC:    c:\voc\vocplay.exe !F !M
  81. AP?:    fax\faxshow.exe !F !M!E
  82.  
  83. % Programming
  84.  
  85. PAS:    c:\bp8\bp.exe !F !M
  86. H  :    q !F !M
  87. C  :    q !F !M
  88.  
  89. % Mail files
  90.  
  91. PK?:    utils\pktview.exe !F !M!E
  92. ?UT:    utils\pktview.exe !F !M!E
  93. PWD:    utils\pktview.exe !F !M!E
  94. QQQ:    utils\pktview.exe !F !M!E
  95. ?LO:    q !F!M
  96. MO?:    shez !F !M
  97. TU?:    shez !F !M
  98. WE?:    shez !F !M
  99. TH?:    shez !F !M
  100. FR?:    shez !F !M
  101. SA?:    shez !F !M
  102. SU?:    shez !F !M
  103. QWK:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  104. 0??:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  105.  
  106. % Textfiles and other extensions
  107.  
  108. BBS:    @LIST !D !W
  109. TXT:    q !F !M
  110. ASC:    @LIST !F !W
  111. ANS:    type !F !W!M
  112. GBS:    type !F !W!M
  113. CTL:    q !F !M
  114. LOG:    @LIST !F !M
  115. CFG:    q !F !M
  116. DOC:    @LIST !F !M
  117.  
  118.